package com.ponhu.ea2.service.facade;

import com.ponhu.ea2.vo.GoodsInfoForErpVo;
import com.ponhu.ea2.vo.GoodsInfoVo;
import com.ponhu.ea2.vo.PhInventoryOprLogVo;

import java.util.List;
import java.util.concurrent.CompletionException;

/**
 * @author zhaokai
 */
public interface GoodsApiService {


    /**
     * 根据商品主键ID集合查询商品详情
     *
     * @param ids
     * @return
     */
    List<GoodsInfoVo> getGoodsInfo(List<Long> ids);

    /**
     * 通过货品编码获取商品详情
     *
     * @param code
     * @return
     */
    GoodsInfoForErpVo getGoodsInfoForErp(String code);

    /**
     * 根据货品编码查询商品详情
     *
     * @param code
     * @return
     */
    GoodsInfoVo getGoodsInfoByCode(String code);

    List<PhInventoryOprLogVo> getOprLogsByInventoryCode(String inventoryCode);

}
